package com.ruoyi.mall.cms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专题对象 cms_subject
 *
 * @author xuxing
 * @date 2021-02-05
 */
public class CmsSubject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 专题分类id */
    @Excel(name = "专题分类id")
    private Long categoryId;

    /** 专题名称 */
    @Excel(name = "专题名称")
    private String title;

    /** 专题主图 */
    @Excel(name = "专题主图")
    private String pic;

    /** 关联产品数量 */
    @Excel(name = "关联产品数量")
    private Long productCount;

    /** 推荐状态 */
    @Excel(name = "推荐状态")
    private Integer recommendStatus;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 显示状态 */
    @Excel(name = "显示状态")
    private Integer showStatus;

    /** 专题内容 */
    @Excel(name = "专题内容")
    private String content;

    /** 专题分类名称 */
    @Excel(name = "专题分类名称")
    private String categoryName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setPic(String pic)
    {
        this.pic = pic;
    }

    public String getPic()
    {
        return pic;
    }
    public void setProductCount(Long productCount)
    {
        this.productCount = productCount;
    }

    public Long getProductCount()
    {
        return productCount;
    }
    public void setRecommendStatus(Integer recommendStatus)
    {
        this.recommendStatus = recommendStatus;
    }

    public Integer getRecommendStatus()
    {
        return recommendStatus;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setShowStatus(Integer showStatus)
    {
        this.showStatus = showStatus;
    }

    public Integer getShowStatus()
    {
        return showStatus;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setCategoryName(String categoryName)
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName()
    {
        return categoryName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("categoryId", getCategoryId())
            .append("title", getTitle())
            .append("pic", getPic())
            .append("productCount", getProductCount())
            .append("recommendStatus", getRecommendStatus())
            .append("createTime", getCreateTime())
            .append("description", getDescription())
            .append("showStatus", getShowStatus())
            .append("content", getContent())
            .append("categoryName", getCategoryName())
            .toString();
    }
}
